package com.jewel.service;

import java.util.List;

import com.jewel.model.Block;
import com.jewel.model.IndexProduct;

/**
 * @Description: 版区模块业务类
 * 
 * @author DELL
 *
 * @since 2017.04.27
 */
public interface BlockService {
    
	/**
	 * @Title: getBlockById
	 * @Description：获取指定id版区
	 * 
	 * @param blockId
	 * @return Block
	 * @throws：
	 * 
	 */
    public Block getBlockById(int blockId);

    
    /**
	 * @Title: getAllProductByBlockId
	 * @Description：获取指定版区id所有产品
	 * 
	 * @param blockId
	 * @return List<IndexProduct>
	 * @throws：
	 * 
	 */
    public List<IndexProduct> getAllProductByBlockId(int blockId);
}
